//
//  LZRestaurantPresenter.h
//  laziz_Consumer
//
//  Created by xbnzd on 16/11/21.
//  Copyright © 2016年 XBN. All rights reserved.
//


//***********************
//==========餐厅相关======
//***********************

#import <Foundation/Foundation.h>

@interface LZRestaurantPresenter : NSObject


#pragma mark -
#pragma mark 餐厅列表
/**
 餐厅列表
 
 @param dic 筛选的参数
 @param pageNum 页数
 @param pageLimit 每页的数量
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantListWithFilterPrameter:(NSDictionary *)dic PageNum:(int)pageNum pageLimit:(int)pageLimit ResultSuccess:(void(^)(NSMutableArray *listArr,int nowPage,NSTimeInterval timestamp))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;



#pragma mark -
#pragma mark 餐厅详情
/**
 获取餐厅详情

 @param restaurantId 商家id
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantDetailWithRestaurantID:(NSString *)restaurantId ResultSuccess:(void(^)(id result))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;




#pragma mark -
#pragma mark 餐厅详情评论数量统计
/**
 餐厅评论统计数字

 @param restaurantId 餐厅id
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantCommentTotleNumWithRestaurantID:(NSString *)restaurantId ResultSuccess:(void(^)(id result))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;




#pragma mark -
#pragma mark 餐厅详情评论列表

/**
 餐厅详情评论列表

 @param restaurantId 餐厅id
 @param pageNum 页数
 @param pageLimit 数量
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantDetailCommentListWithPrameter:(NSDictionary*)prameter RestaurantID:(NSString *)restaurantId PageNum:(int)pageNum PageLimit:(int)pageLimit ResultSuccess:(void(^)(NSArray *listArr,NSNumber *timeStemp))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;




#pragma mark -
#pragma mark 餐厅详情视频列表

/**
 餐厅详情中的视频列表

 @param restaurantId 餐厅id
 @param pageNum 页数
 @param pageLimit 数量
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantDetailVideoListWithPrameter:(NSDictionary*)prameter RestaurantID:(NSString *)restaurantId PageNum:(int)pageNum PageLimit:(int)pageLimit ResultSuccess:(void(^)(NSArray *listArr,NSNumber *timeStemp))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;



#pragma mark -
#pragma mark 获取餐厅相册

/**
 获取餐厅相册
 
 @param restaurantId <#restaurantId description#>
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantPhotoAlbumWithRestaurantID:(NSString *)restaurantId ResultSuccess:(void(^)(NSArray *result))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;

#pragma mark -
#pragma mark 优惠买单列表

/**
 优惠买单列表
 
 @param restaurantId <#restaurantId description#>
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)getRestaurantPromotionListWithRestaurantID:(NSString *)restaurantId ResultSuccess:(void(^)(NSArray *result))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;

#pragma mark -
#pragma mark 餐厅搜索次数+1

/**
 餐厅搜索次数+1

 @param restaurantId 餐厅id
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)restaurantSearchAddWithRestaurantID:(NSString *)restaurantId ResultSuccess:(void(^)(void))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;


@end
